<?php


namespace App\Services;

class ConfigService extends BaseService
{
    private $_repository;

    public function __construct()
    {
        parent::__construct();
        $this->_repository = repository()->ConfigRepository;
    }

    public function getConfigByKey($key)
    {
        return $this->_repository->getConfigByKey($key);
    }

    public function getConfigsByKeys($keys)
    {
        return $this->_repository->getConfigsByKeys($keys);
    }
}
